package com.git.hui.demo.base.bean.test.base;


import com.git.hui.anno.processor.DoBuilder;

import java.io.Serializable;
import java.math.BigDecimal;

@DoBuilder(InfluxKlineFPO.class)
public class MarketKlineDO implements Serializable {
    private static final long serialVersionUID = -1174616170672768759L;

    private Long time;
    private BigDecimal open;
    private BigDecimal high;
    private BigDecimal low;
    private BigDecimal close;
    private BigDecimal amount;
    private BigDecimal changePercent;
    private BigDecimal amplitude;
    /***人民币成交额*/
    private BigDecimal volume;
    /***人民币净流入*/
    private BigDecimal netFlow;
    /***1:买点,2:卖点;3五星买点;4五星卖点*/
    private Integer salePoint;
    private BigDecimal eMA12;
    private BigDecimal eMA26;
    private BigDecimal dEA;
    private BigDecimal k;
    private BigDecimal d;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public BigDecimal getOpen() {
        return open;
    }

    public void setOpen(BigDecimal open) {
        this.open = open;
    }

    public BigDecimal getHigh() {
        return high;
    }

    public void setHigh(BigDecimal high) {
        this.high = high;
    }

    public BigDecimal getLow() {
        return low;
    }

    public void setLow(BigDecimal low) {
        this.low = low;
    }

    public BigDecimal getClose() {
        return close;
    }

    public void setClose(BigDecimal close) {
        this.close = close;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getChangePercent() {
        return changePercent;
    }

    public void setChangePercent(BigDecimal changePercent) {
        this.changePercent = changePercent;
    }

    public BigDecimal getAmplitude() {
        return amplitude;
    }

    public void setAmplitude(BigDecimal amplitude) {
        this.amplitude = amplitude;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public BigDecimal getNetFlow() {
        return netFlow;
    }

    public void setNetFlow(BigDecimal netFlow) {
        this.netFlow = netFlow;
    }

    public Integer getSalePoint() {
        return salePoint;
    }

    public void setSalePoint(Integer salePoint) {
        this.salePoint = salePoint;
    }

    public BigDecimal geteMA12() {
        return eMA12;
    }

    public void seteMA12(BigDecimal eMA12) {
        this.eMA12 = eMA12;
    }

    public BigDecimal geteMA26() {
        return eMA26;
    }

    public void seteMA26(BigDecimal eMA26) {
        this.eMA26 = eMA26;
    }

    public BigDecimal getdEA() {
        return dEA;
    }

    public void setdEA(BigDecimal dEA) {
        this.dEA = dEA;
    }

    public BigDecimal getK() {
        return k;
    }

    public void setK(BigDecimal k) {
        this.k = k;
    }

    public BigDecimal getD() {
        return d;
    }

    public void setD(BigDecimal d) {
        this.d = d;
    }

    public InfluxKlineFPO build(MarketKlineDO kline) {
        return null;
    }

    @Override
    public String toString() {
        return "MarketKlineDO{" + "time=" + time + ", open=" + open + ", high=" + high + ", low=" + low + ", close=" +
                close + ", amount=" + amount + ", changePercent=" + changePercent + ", amplitude=" + amplitude +
                ", volume=" + volume + ", netFlow=" + netFlow + ", salePoint=" + salePoint + ", eMA12=" + eMA12 +
                ", eMA26=" + eMA26 + ", dEA=" + dEA + ", k=" + k + ", d=" + d + '}';
    }
}
